package cn.anson.jujuapp.base;

import android.app.Application;
import android.content.Context;

import com.mob.mobapi.MobAPI;

/**
 * Created by Anson-pc on 2016/3/9.
 */
public class BaseApplication extends Application {


    public static Context mContext;

    public static Context getContext() {
        return mContext;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        mContext = getApplicationContext();
        //使用MobAPI实现天气的查询
        MobAPI.initSDK(mContext, "d6b190b0406f");
    }
}
